package org.song.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.song.model.dto.CommentDto;
import org.song.model.vo.Comment;
import org.springframework.lang.NonNull;

import java.util.List;

@Mapper
public interface CommentMapper {
    
    List<Comment> listComments(@NonNull CommentDto commentDto);
    
    int deleteComment( @NonNull Comment blog);

    int insertComment( @NonNull Comment blog);

    int updateComment( @NonNull Comment blog);
    
}
